/ Developer CD Series 1998 January: Mac OS SDK
/ Dev.CD Jan 98 SDK1.toast / Development Kits (Disc 1) / AppleScript / Sample Scripts / AppleScript Samples / Read⁄Write Examples / Read⁄Write Examples•Readme ![]() | next > |
MacBinary | 1993-12-08 | 1.9 KB | [QUIL/quil] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
100% | file | MacBinary II, inited, Mon Dec 6 10:33:49 1993, modified Wed Dec 8 12:12:27 1993, creator 'quil', type 'QUIL', 1312 bytes " Read/Write Examples�Readme" , at 0x5a0 286 bytes resource | default (weak) | |
99% | file | data | default | |
100% | TrID | MacBinary 2 | default (weak) | |
100% | siegfried | fmt/1762 MacBinary (II) | default | |
50% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [QUIL] |
macFileCreator | [quil] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 1b 20 52 65 61 64 2f | 57 72 69 74 65 20 45 78 |.. Read/|Write Ex|
|00000010| 61 6d 70 6c 65 73 a5 52 | 65 61 64 6d 65 00 00 00 |amples.R|eadme...|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 51 55 49 4c 71 75 69 | 6c 01 00 00 00 00 00 00 |.QUILqui|l.......|
|00000050| 00 00 00 00 00 05 20 00 | 00 01 1e a9 29 01 5d a9 |...... .|....).].|
|00000060| 2b bb 7b 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |+.{.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 fc 93 00 00 |........|........|
|00000080| 00 07 00 00 03 fe 52 65 | 61 64 2f 57 72 69 74 65 |......Re|ad/Write|
|00000090| 20 45 78 61 6d 70 6c 65 | 73 20 52 65 61 64 20 4d | Example|s Read M|
|000000a0| 65 20 0d 0d 45 6e 63 6c | 6f 73 65 64 20 69 6e 20 |e ..Encl|osed in |
|000000b0| 74 68 69 73 20 66 6f 6c | 64 65 72 20 61 72 65 20 |this fol|der are |
|000000c0| 73 63 72 69 70 74 73 20 | 74 6f 20 64 65 6d 6f 6e |scripts |to demon|
|000000d0| 73 74 72 61 74 65 20 74 | 68 65 20 6e 65 77 20 52 |strate t|he new R|
|000000e0| 65 61 64 2f 57 72 69 74 | 65 20 53 63 72 69 70 74 |ead/Writ|e Script|
|000000f0| 69 6e 67 20 41 64 64 69 | 74 69 6f 6e 73 20 74 68 |ing Addi|tions th|
|00000100| 61 74 20 63 6f 6d 65 20 | 77 69 74 68 20 41 70 70 |at come |with App|
|00000110| 6c 65 53 63 72 69 70 74 | 20 31 2e 31 2e 20 54 68 |leScript| 1.1. Th|
|00000120| 65 73 65 20 73 63 72 69 | 70 74 73 20 61 72 65 20 |ese scri|pts are |
|00000130| 74 6f 20 62 65 20 63 6f | 6e 73 69 64 65 72 65 64 |to be co|nsidered|
|00000140| 20 73 61 6d 70 6c 65 73 | 20 61 6e 64 20 61 72 65 | samples| and are|
|00000150| 20 6e 6f 74 20 74 6f 20 | 62 65 20 63 6f 6e 73 74 | not to |be const|
|00000160| 72 75 65 64 20 61 73 20 | 68 61 76 69 6e 67 20 62 |rued as |having b|
|00000170| 65 65 6e 20 74 68 6f 72 | 6f 75 67 68 6c 79 20 74 |een thor|oughly t|
|00000180| 65 73 74 65 64 2e 0d 0d | 53 61 6d 70 6c 65 20 53 |ested...|Sample S|
|00000190| 63 72 69 70 74 73 0d 2d | 3e 4f 70 65 6e 46 69 6c |cripts.-|>OpenFil|
|000001a0| 65 20 43 72 65 61 74 69 | 6e 67 20 49 66 20 52 65 |e Creati|ng If Re|
|000001b0| 71 75 69 72 65 64 0d 09 | 53 68 6f 77 73 20 68 6f |quired..|Shows ho|
|000001c0| 77 20 74 6f 20 6f 70 65 | 6e 20 61 20 66 69 6c 65 |w to ope|n a file|
|000001d0| 20 66 6f 72 20 72 65 61 | 64 20 6f 72 20 77 72 69 | for rea|d or wri|
|000001e0| 74 65 20 61 63 63 65 73 | 73 2c 20 63 72 65 61 74 |te acces|s, creat|
|000001f0| 69 6e 67 20 6f 6e 65 20 | 69 66 20 74 68 65 20 66 |ing one |if the f|
|00000200| 69 6c 65 20 64 6f 65 73 | 20 6e 6f 74 20 65 78 69 |ile does| not exi|
|00000210| 73 74 2e 20 0d 0d 54 68 | 65 20 72 65 63 6f 72 64 |st. ..Th|e record|
|00000220| 73 20 75 73 65 64 20 69 | 6e 20 74 68 65 20 66 6f |s used i|n the fo|
|00000230| 6c 6c 6f 77 69 6e 67 20 | 65 78 61 6d 70 6c 65 73 |llowing |examples|
|00000240| 2c 20 61 72 65 20 74 61 | 62 20 64 65 6c 69 6d 69 |, are ta|b delimi|
|00000250| 74 65 64 20 66 69 65 6c | 64 73 20 61 6e 64 20 72 |ted fiel|ds and r|
|00000260| 65 74 75 72 6e 20 64 65 | 6c 69 6d 69 74 65 64 20 |eturn de|limited |
|00000270| 72 65 63 6f 72 64 73 20 | 73 75 63 68 20 61 73 20 |records |such as |
|00000280| 63 61 6e 20 62 65 20 65 | 78 70 6f 72 74 65 64 20 |can be e|xported |
|00000290| 66 72 6f 6d 20 6d 6f 73 | 74 20 64 61 74 61 20 62 |from mos|t data b|
|000002a0| 61 73 65 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |ase appl|ications|
|000002b0| 2e 0d 0d 2d 3e 52 65 61 | 64 20 53 70 65 63 69 66 |...->Rea|d Specif|
|000002c0| 69 65 64 20 72 65 63 6f | 72 64 0d 20 09 44 65 6d |ied reco|rd. .Dem|
|000002d0| 6f 6e 73 74 72 61 74 65 | 73 20 72 65 61 64 69 6e |onstrate|s readin|
|000002e0| 67 20 61 20 73 70 65 63 | 69 66 69 63 20 72 65 63 |g a spec|ific rec|
|000002f0| 6f 72 64 20 66 72 6f 6d | 20 61 20 66 69 6c 65 2e |ord from| a file.|
|00000300| 20 0d 2d 3e 49 6e 73 65 | 72 74 20 52 65 63 6f 72 | .->Inse|rt Recor|
|00000310| 64 20 74 6f 20 66 69 6c | 65 0d 20 20 44 65 6d 6f |d to fil|e. Demo|
|00000320| 6e 73 74 72 61 74 65 73 | 20 69 6e 73 65 72 74 69 |nstrates| inserti|
|00000330| 6e 67 20 61 20 72 65 63 | 6f 72 64 20 69 6e 74 6f |ng a rec|ord into|
|00000340| 20 61 20 66 69 6c 65 2e | 0d 2d 3e 44 65 6c 65 74 | a file.|.->Delet|
|00000350| 65 20 53 70 65 63 69 66 | 69 65 64 20 52 65 63 6f |e Specif|ied Reco|
|00000360| 72 64 0d 09 20 44 65 6d | 6f 6e 73 74 72 61 74 65 |rd.. Dem|onstrate|
|00000370| 73 20 64 65 6c 65 74 69 | 6e 67 20 61 20 72 65 63 |s deleti|ng a rec|
|00000380| 6f 72 64 20 66 72 6f 6d | 20 61 20 66 69 6c 65 2e |ord from| a file.|
|00000390| 0d 0d 54 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |..The fo|llowing |
|000003a0| 73 63 72 69 70 74 73 20 | 62 75 69 6c 64 20 6f 6e |scripts |build on|
|000003b0| 20 74 68 65 20 73 63 72 | 69 70 74 73 20 61 62 6f | the scr|ipts abo|
|000003c0| 76 65 20 61 6e 64 20 69 | 6d 70 6c 65 6d 65 6e 74 |ve and i|mplement|
|000003d0| 20 61 20 72 75 64 69 6d | 65 6e 74 61 72 79 20 61 | a rudim|entary a|
|000003e0| 64 64 72 65 73 73 20 62 | 6f 6f 6b 2e 20 46 6f 75 |ddress b|ook. Fou|
|000003f0| 6e 64 20 69 6e 20 74 68 | 65 20 66 6f 6c 64 65 72 |nd in th|e folder|
|00000400| 20 22 41 53 20 41 64 64 | 72 65 73 73 20 42 6f 6f | "AS Add|ress Boo|
|00000410| 6b 22 2e 0d 2d 3e 20 41 | 64 64 54 6f 4f 72 43 72 |k"..-> A|ddToOrCr|
|00000420| 65 61 74 65 44 61 74 61 | 42 61 73 65 0d 2d 3e 20 |eateData|Base.-> |
|00000430| 46 69 6e 64 52 65 63 6f | 72 64 49 6e 44 61 74 61 |FindReco|rdInData|
|00000440| 42 61 73 65 0d 2d 3e 20 | 53 61 6d 70 6c 65 20 44 |Base.-> |Sample D|
|00000450| 61 74 61 20 2d 2d 20 53 | 61 6d 70 6c 65 20 64 61 |ata -- S|ample da|
|00000460| 74 61 20 74 6f 20 75 73 | 65 20 74 6f 20 74 65 73 |ta to us|e to tes|
|00000470| 74 20 61 62 6f 76 65 20 | 74 77 6f 20 73 63 72 69 |t above |two scri|
|00000480| 70 74 73 2e 00 00 00 30 | 00 04 00 03 01 5d 59 a4 |pts....0|.....]Y.|
|00000490| 01 5d 59 ac 00 1f fb b1 | 01 5d 59 a0 00 00 00 01 |.]Y.....|.]Y.....|
|000004a0| 00 1c 00 00 01 02 00 02 | 01 10 00 00 03 ff ff ff |........|........|
|000004b0| 02 eb 00 00 03 5d ff ff | 00 00 00 36 00 02 00 10 |.....]..|...6....|
|000004c0| 00 0c 00 01 00 00 00 00 | 00 00 00 00 00 00 00 01 |........|........|
|000004d0| 00 13 00 0e 00 01 05 00 | 00 0e 00 00 00 00 00 00 |........|........|
|000004e0| 00 01 00 10 00 0c 00 01 | 05 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 74 00 13 | 00 0e 00 10 00 0c 00 10 |.....t..|........|
|00000500| 00 0c 00 10 00 0c 00 10 | 00 0c 00 10 00 0c 00 10 |........|........|
|00000510| 00 0c 00 10 00 0c 00 10 | 00 0c 00 10 00 0c 00 10 |........|........|
|00000520| 00 0c 00 10 00 0c 00 10 | 00 0c 00 10 00 0c 00 10 |........|........|
|00000530| 00 0c 00 10 00 0c 00 10 | 00 0c 00 10 00 0c 00 10 |........|........|
|00000540| 00 0c 00 10 00 0c 00 10 | 00 0c 00 10 00 0c 00 10 |........|........|
|00000550| 00 0c 00 10 00 0c 00 10 | 00 0c 00 10 00 0c 00 10 |........|........|
|00000560| 00 0c 00 10 00 0c 00 10 | 00 0c 00 00 00 08 02 d1 |........|........|
|00000570| fb b2 01 5d 59 a8 00 00 | 00 16 00 00 fb 81 03 63 |...]Y...|.......c|
|00000580| fb 82 03 64 fb 82 03 64 | fb 83 03 65 fb 83 03 65 |...d...d|...e...e|
|00000590| 00 00 00 0c 00 00 00 01 | 00 27 00 01 01 9c 02 3f |........|.'.....?|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000610| 00 00 00 00 00 00 7f a8 | 9f 65 72 00 12 09 01 00 |........|.er.....|
|00000620| 00 00 88 00 02 00 00 00 | 02 ff 00 59 e2 83 00 d8 |........|...Y....|
|00000630| 1b 20 52 65 61 64 2f 57 | 72 69 74 65 20 45 78 61 |. Read/W|rite Exa|
|00000640| 6d 70 6c 65 73 a5 52 65 | 61 64 6d 65 02 00 00 00 |mples.Re|adme....|
|00000650| 00 00 51 55 49 4c 71 75 | 69 6c 01 00 00 00 00 80 |..QUILqu|il......|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 a9 29 01 5d 00 00 | 05 20 00 00 01 1e 00 3f |...).]..|. .....?|
|00000680| fd 40 04 3f fd f8 00 00 | 2b 00 00 40 00 40 00 40 |.@.?....|+..@.@.@|
|00000690| 00 f0 00 00 00 00 00 00 | 04 70 a8 9f 65 72 00 12 |........|.p..er..|
|000006a0| 09 01 00 00 08 08 00 02 | 00 00 2c 01 00 00 33 33 |........|..,...33|
|000006b0| 66 66 99 99 cc cc ff ff | 4c cb 7f fe 19 99 80 00 |ff......|L.......|
|000006c0| 7f fd 4c cd 4c ca 4c cc | 19 9a 7f ff 7f fc 19 96 |..L.L.L.|........|
|000006d0| 4c c9 19 98 19 97 77 77 | 55 55 44 44 22 22 11 11 |L.....ww|UUDD""..|
|000006e0| 80 02 bb bb aa aa 88 88 | 6e ee 5d dd 4c cf 2a aa |........|n.].L.*.|
|000006f0| 19 9c ee ee dd dd 3b b8 | 08 85 6e ed 5d df 3b bf |......;.|..n.].;.|
|00000700| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000710| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+